package com.learning.test.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyController {
  
  @GetMapping("/admin")
  public String admin() {
    return "admin";
  }
  @GetMapping("/user")
  public String user() {
    return "user";
  }
  
}
